/*
  自定义主应用导航主题样式
*/
.ant-pro-global-header,
.ant-layout-header,
.ant-pro-global-header-content,
.ant-menu,
.ant-menu.ant-menu-inline,
.ant-menu-item,
.ant-pro-sider-menu-logo,
.ant-layout .ant-layout-sider {
  color: var(--nav-font-color);
  background: var(--background) !important;
}

.ant-menu-item span {
  color: var(--nav-font-color);
}

.ant-pro-global-header,
.ant-layout .ant-layout-header,
.ant-pro-global-header,
.ant-pro-global-header-content,
.ant-pro-sider-menu-logo {
  height: 56px !important;
  line-height: 54px !important;
}

.ant-menu-horizontal {
  .ant-menu,
  .ant-menu-item {
    height: 56px;
    line-height: 54px;
  }
}

.ant-menu-horizontal .ant-menu-item-selected,
.ant-menu-horizontal .ant-menu-item-active {
  border-bottom: 2px solid var(--nav-font-color) !important;
  color: var(--nav-font-color) !important;
  background: var(--background) !important;
}

.ant-menu-inline .ant-menu-item {
  margin: 0 !important;
  height: 40px;
  line-height: 40px;
}

.ant-menu-inline .ant-menu-item-selected,
.ant-menu-inline .ant-menu-item-active {
  border: none;
  color: var(--nav-font-color) !important;
  background: var(--nav-background-active) !important;
}

// 隐藏折叠菜单按钮
.ant-pro-global-header-trigger,
.ant-layout-footer {
  display: none !important;
}

.ant-pro-global-header-content {
  margin-left: 26px;
}

.ant-layout-sider {
  max-width: 208px !important;
  min-width: 208px !important;
}

// 左侧导航栏
.logo-title .title {
  width: 100%;
  text-align: center;
  color: var(--nav-font-color) !important;
}

.ant-pro-sider-menu-logo {
  padding-left: 0 !important;
}

.ant-layout-sider-children {
  background: var(--background);
}

// content 布局
.ant-pro-basicLayout-content {
  margin: 0 !important;
}

// layout
.ant-layout {
  background: var(--layout-background) !important;
}

// 底部
.ant-layout-footer {
  background: var(--layout-background) !important;
  padding: 16px !important;
}

.ant-layout.sidemenu {
  width: calc(100vw - 208px);
}
